Imports System.Xml.Serialization

Namespace CanvasDesigner

    Public Class InheritanceConnector
        Inherits XEntityModelElementBase

        Public Sub New()
            MyBase.New("InheritanceConnector", EdmxXmlNamespace)
        End Sub

        ''' <summary>Initializes an instance of the <see cref="InheritanceConnector" /> class.</summary>
        ''' <param name="other">An <see cref="System.Xml.Linq.XElement"/> object to copy from.</param>
        Public Sub New(ByVal other As XElement)
            MyBase.New(other)
        End Sub

        Private __connectorPoint As ConnectorPointCollection

        <AutoLoad()> _
        <XmlElement("ConnectorPoint", GetType(ConnectorPoint))> _
        Public ReadOnly Property ConnectorPoints() As ConnectorPointCollection
            Get
                If (__connectorPoint Is Nothing) Then
                    __connectorPoint = New EdmxEditor.CanvasDesigner.ConnectorPointCollection(Me, MyBase.Name.Namespace, "ConnectorPoint")
                End If
                Return __connectorPoint
            End Get
        End Property

        <XmlAttribute()> _
        Public Property EntityType() As String
            Get
                Return Me.@EntityType
            End Get
            Set(ByVal value As String)
                Me.@EntityType = value
            End Set
        End Property

        <XmlAttribute()> _
        Public Property ManuallyRouted() As Boolean
            Get
                Return Me.@ManuallyRouted
            End Get
            Set(ByVal value As Boolean)
                Me.@ManuallyRouted = value
            End Set
        End Property

    End Class

End Namespace